.burger {
    cursor: pointer;
    font-size: 30px; /* Размер шрифта можно изменить, если нужно */
    background: none;
    border: none;
    color: black; /* Цвет текста */
    position: relative;
    z-index: 20;
    padding: 0 !important;
}

.menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    max-width: 250px;
    min-width: 180px;
    height: 100%;
    background: #fff; /* Цвет фона меню */
    color: #fff;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
}

.closeButton{
  width: 18px;
}

.menu.active {
    display: block;
    transform: translateX(0);
}

.menu-item {
  position: relative;
  margin: 15px 0;
  color: black;
  font-family: "Nunito Sans", serif; /* Используем тот же шрифт */
  font-size: 3.6vw; /* Размер шрифта для элементов меню */
}

.custom-underline1 {
    position: relative;
    display: inline-block; /* Убедитесь, что только текст занимает пространство */
    margin: 10px 0;
  }

  .custom-underline1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Расстояние от текста до подчеркивания */
    height: 2px; /* Толщина линии */
    width: 14vw; /* Длина соответствует длине текста */
    background-color: black; /* Цвет линии */
  }
  .custom-underline2 {
    position: relative;
    display: inline-block; /* Убедитесь, что только текст занимает пространство */
    margin: 10px 0;
  }

  .custom-underline2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Расстояние от текста до подчеркивания */
    height: 2px; /* Толщина линии */
    width: 23vw; /* Длина соответствует длине текста */
    background-color: black; /* Цвет линии */
  }
  .custom-underline3 {
    position: relative;
    display: inline-block; /* Убедитесь, что только текст занимает пространство */
    margin: 10px 0;
  }

  .custom-underline3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Расстояние от текста до подчеркивания */
    height: 2px; /* Толщина линии */
    width: 10vw; /* Длина соответствует длине текста */
    background-color: black; /* Цвет линии */
  }
  .custom-underline4 {
    position: relative;
    display: inline-block; /* Убедитесь, что только текст занимает пространство */
    margin: 10px 0;
  }

  .custom-underline4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Расстояние от текста до подчеркивания */
    height: 2px; /* Толщина линии */
    width: 10vw; /* Длина соответствует длине текста */
    background-color: black; /* Цвет линии */
  }
  .custom-underline5 {
    position: relative;
    display: inline-block; /* Убедитесь, что только текст занимает пространство */
    margin: 10px 0;
  }

  .custom-underline5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Расстояние от текста до подчеркивания */
    height: 2px; /* Толщина линии */
    width: 25vw; /* Длина соответствует длине текста */
    background-color: black; /* Цвет линии */
  }

.arrow-ico {
  position: relative;
  
  display: inline-block;
  width: 60px;
}

.arrow-ico:before,
.arrow-ico:after {
  position: absolute;
  
  content: '';
}

.arrow-ico:before {
  top: calc(50% - 1px);
  left: 0;
  
  width: 100%;
  height: 2px;
  
  background: #000;
}

.arrow-ico:after {
    top: calc(50% - 6px);
    left: -8px;
    border: 6px solid transparent;
    border-left-color: #000;
    transform: rotate(180deg);
}

.menu-item a {
    color: #000; /* Цвет ссылок */
    text-decoration: none; /* Убираем подчеркивание */
    transition: color 0.2s; /* Плавный переход цвета */
}

.menu-item a:hover {
    color: #4d4d4d; /* Цвет при наведении */
}

.burger-sub-menu-item {
  color: black;
  font-family: "Nunito Sans", serif; /* Используем тот же шрифт */
  font-size: 3.6vw; /* Размер шрифта для элементов меню */
  text-decoration: none;
  margin: 15px 0 !important;
}

.burger-sub-menu-item a {
    color: #000; /* Цвет ссылок */
    text-decoration: none; /* Убираем подчеркивание */
    transition: color 0.2s; /* Плавный переход цвета */
}

.burger-sub-menu-item div {
  color: #000; /* Цвет ссылок */
  text-decoration: none; /* Убираем подчеркивание */
  transition: color 0.2s; /* Плавный переход цвета */
}

.burger-sub-menu-item p {
    color: #000; /* Цвет ссылок */
    font-size: 3.4vw; /* Размер шрифта для элементов меню */
    margin: 125px;

}

#closeButton {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    background: none;
    border: none;
    font-size: 24px; /* Adjust size as needed */
}

@media (min-width: 768px) {
    .burger {
        display: none; /* Скрываем бургер-меню на больших экранах */
    }
    .menu {
        display: none;
        position: static;
        transform: none;
        height: auto;
        box-shadow: none;
    }
}
@media (min-width: 751px) {
  .diamond5 {
    margin-left: 28.5vw; /* Отступ между текстом и квадратом */
  }
}